<template>
  <div>
    <top-bar>
      <el-row>
      <el-button @click="ToLinkedList">链表</el-button>
      <el-button @click="ToStack">栈</el-button>
      <el-button @click="ToQueue">队列</el-button>      
      <el-button @click="ToDoublyLinkedList">双向链表</el-button>      
      <el-button @click="ToDeque">双端队列</el-button>      
      </el-row>
    </top-bar>
  </div>
</template>

<script>
import TopBar from '../../components/common/show/TopBar.vue'
export default {
  name:'Deque',
  components:{
    TopBar,
  },
  methods:{
    ToLinkedList(){
      this.$router.push('/linkedList')
    },
    ToStack(){
      this.$router.push('/stack')
    },
    ToQueue(){
      this.$router.push('/queue')
    },
    ToDoublyLinkedList(){
      this.$router.push('/doublyLinkedList')
    },
    ToDeque(){
      this.$router.push('/deque')
    }
  }
}
</script>

<style>

</style>